package com.learn.egmvc3.mapper;

import com.learn.egmvc3.pojo.dto.NoticeListQuery;
import com.learn.egmvc3.pojo.entity.Notice;
import com.learn.egmvc3.pojo.vo.NoticeDetailInfoVO;
import com.learn.egmvc3.pojo.vo.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {

    int insertNotice(Notice notice);

    List<NoticeListVO> selectListNotice(NoticeListQuery noticeListQuery);

    NoticeDetailInfoVO selectNoticeDetail(Long id);
}
